package com.usian.apis.admin;

import com.usian.model.admin.dtos.ChannelDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.common.dtos.ResponseResult;

public interface AdChannelControllerApi {
    /*根据名称分页查询*/
    public ResponseResult findByNameAndPage(ChannelDto dto);

    public ResponseResult save(AdChannel channel);

    public ResponseResult updateChannel(AdChannel channel);

    public ResponseResult deleteById(Integer id);

    public ResponseResult findAll();
}
